package org.glow.changgou.content.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.Column;

/**
 * @Author Glow
 * @Date 2022-09-26 19:29:34
 * @Description
 * @Version 1.0
 */
@Data
@TableName("tb_content")
public class Content {
    @TableId(value = "id")
    @Column(name = "id")
    private Long id;//

    @Column(name = "category_id")
    private Long categoryId;//内容类目ID

    @Column(name = "title")
    private String title;//内容标题

    @Column(name = "url")
    private String url;//链接

    @Column(name = "pic")
    private String pic;//图片绝对路径

    @Column(name = "status")
    private String status;//状态,0无效，1有效

    @Column(name = "sort_order")
    private Integer sortOrder;//排序
}
